package com.cloud.check.api.mapper;

import com.cloud.check.api.entity.JgJgdxGthBasicMsg;
import com.cloud.check.api.entity.JgJgdxQyjbxx;
import com.cloud.check.common.utils.BaseMapperHelper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 
 * JgJgdxQyjbxxMapper数据库操作接口类
 * 
 **/

public interface JgJgdxQyjbxxMapper extends BaseMapperHelper<JgJgdxQyjbxx> {
    @Select("select PRIPID,EntName,UniSCID,LeRep,Dom,LinkmanPhone,OpLoc from jg_jgdx_qyjbxx")
    @Results({@Result(property = "pripID", column = "PRIPID",javaType = String.class),
            @Result(property = "entName", column = "EntName",javaType = String.class),
            @Result(property = "uniSCID", column = "UniSCID",javaType = String.class),
            @Result(property = "leRep", column = "LeRep",javaType = String.class),
            @Result(property = "dom", column = "Dom",javaType = String.class),
            @Result(property = "opLoc", column = "OpLoc",javaType = String.class),
            @Result(property = "linkmanPhone", column = "LinkmanPhone",javaType = String.class),
    })
    List<JgJgdxQyjbxx> findAllCorporation();
}